package com.bjb.vr.common.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.bjb.vr.common.dto.ResPlaylist;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author admin
 * @description 针对表【res_playlist】的数据库操作Mapper
 * @createDate 2022-03-18 18:00:07
 * @Entity com.bjb.vr.common.dto.ResPlaylist
 */
public interface ResPlaylistMapper extends BaseMapper<ResPlaylist> {

    /**
     *根据课集id查询所属课程缩略图的路径
     * @param id
     * @return
     */
    List<String> selectPathsById(Long id);

    /**
     * 根据课程id查询添加课程总和
     * @param accountId
     * @return
     */
    Integer queryPlayListSizeByAccountId(@Param("accountId") Long accountId);
}




